namespace DepartmentPersonnel {
  export interface SearchForm extends Base.Pagination {
    username: string;
    roleId: string;
    status: number;
    deptId: string;
  }
  export type ListRows = {
    id: string;
    [propName: string]: any;
  };
  export interface AddUserForm extends Base.GeneraDataType {
    username: string;
    password: string;
    name: string;
    status: number;
    phone: string;
    deptId: Array<string>;
    roleId: string;
    positionCode: string;
    warehouseList: Array<string>;
    weComId: string;
  }
  export interface CompanyInfoForm {
    id: string;
    typeValue: string[]; // 臃余字段用于拼接后端想要的数据结构
    companyName: string;
    shortName: string;
    waybillPrefix: string;
    phone: string;
    provinceCode: string;
    provinceName: string;
    cityCode: string;
    cityName: string;
    areaCode: string;
    areaName: string;
    dataScope: string;
    logUrls: string[];
    companyNameEn: string;
    companyAddressDetails: string;
    // bizDeptAccountReqDtoList: AccountInfo[];
    bizDeptApiConfigReqDtoList: ApiInfo[];
  }
  export type AccountInfo = {
    id?: number | undefined;
    name: string;
    bankName: string;
    receiveAccount: string;
    isDefault: number;
    sisterBankNum: string;
  };
  export type ApiInfo = {
    platformId: string;
    platformName: string;
    agentId: string;
    agent: string;
    apiKey: string;
    domainName: string;
    userName: string;
  };
}
